package io.adrainty.bolee.security.models.valobj;

import io.adrainty.bolee.framework.commons.basic.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * <p>GrantTypeEnum</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description 授权类型
 * @since 2025/8/1 11:08:19
 */

@Getter
@AllArgsConstructor
public enum GrantTypeEnum implements IEnum {

    REFRESH_TOKEN("refresh_token", "刷新令牌"),
    PASSWORD("password", "密码"),
    MOBILE("mobile", "手机"),

    ;
    private final String code;
    private final String desc;

}
